package com.ruoyi.project.vo;

import com.ruoyi.common.domainenum.PfFileType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author abel lee
 * @create 2020-10-22 09:32
 **/
@ApiModel(description = "图片或者文件参数")
public class FileVo {

    @ApiModelProperty("多个图片时的排序，可为空")
    private int orderNum;

    @ApiModelProperty("url地址")
    private String url;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("文件类型")
    private PfFileType fileType = PfFileType.IMAGE;

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public PfFileType getFileType() {
        return fileType;
    }

    public void setFileType(PfFileType fileType) {
        this.fileType = fileType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
